﻿using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Models;
using Service.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebAPI.Controllers
{
    /// <summary>
    /// 看板API
    /// </summary>
    [ApiController]
    [Route("[controller]/[action]")]
    public class DashboardController: ControllerBase
    {
        Result result = new Result(true);
        private readonly ILogger<DashboardController> _logger;
        private readonly IServices _services;
        private readonly IFlowServices _flowservices;
        private readonly IJobHeadServices _jobheadservices;
        private readonly IShipmentServices _shipmentservices;

        public DashboardController(ILogger<DashboardController> logger, IServices services, IFlowServices flowServices, IJobHeadServices jobheadservices, IShipmentServices shipmentServices)
        {
            _logger = logger;
            _services = services;
            _flowservices = flowServices;
            _jobheadservices = jobheadservices;
            _shipmentservices = shipmentServices;
        }

        /// <summary>
        /// GetPrdData
        /// </summary>
        /// <returns></returns>
        [HttpPost]
        public Result GetYieldPrd()
        {
            return result;
        }

    }
}
